package com.test.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description 实体类
 * @Author Mr.Li
 * @Date 2020/3/10 12:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_ssm")
public class example {

    @KeySql(useGeneratedKeys = true)
    @Id
    private Integer id;
    @Column(name = "sname")
    private String StudentName;
    private Integer age;

}
